package com.gxuwz.zhangjiahui.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

/**
 * <p>
 *  项目表
 * </p>
 *
 * @author zhangjiahui
 * @since 2021-06-20
 */
@Data
@Alias("Project") //别名
public class Project {

    private static final long serialVersionUID = 1L;

    private int id;

    @ApiModelProperty(value = "项目编号")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目类型；1为团队，2为个人")
    private int projectState;

    @ApiModelProperty(value = "团队编号；个人不需要填")
    private String teamId;

    @ApiModelProperty(value = "团队不用填，只要填团队编号；个人需要填写学号")
    private String stuNo;

    @ApiModelProperty(value = "指导老师编号")
    private String instructorId;

    @ApiModelProperty(value = "指导老师审批状态(null：刚刚立项；1：指导老师审批通过；2：指导老师审批拒绝)")
    private Integer approvalStateOne;

    @ApiModelProperty(value = "指导老师评价")
    private String evaluateStateOne;

    @ApiModelProperty(value = "学院部门工作人员审批状态(null：刚刚立项；1：学院部门审批通过；2：学院部门审批拒绝)")
    private Integer approvalStateTwo;

    @ApiModelProperty(value = "学院部门工作人员评价")
    private String evaluateStateTwo;

    @ApiModelProperty(value = "项目目前进程状态(null：刚刚立项；1：审批中，可查看；2：拒批，可查看，可删除；3：打回中，可修改；8：学院部门审批；9：指导老师审批)")
    private Integer stateNow;

    @ApiModelProperty(value = "是否获奖(null：未评价；1：获奖；2：未获奖)")
    private Integer keyState;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
